import IRequestPageForm from '@/model/form/request/IRequestPageForm'
import IPageVO from '@/model/vo/common/IPageVO'
import IResVO from '@/model/vo/common/IResVO'
import IRequestVO from '@/model/vo/request/IRequestVO'
import $http from '@/util/http'
import { AxiosResponse } from 'axios'

// 分页排序查询 接口请求记录
export default function requestPageApi(form: IRequestPageForm) {
  return $http.post<
    IResVO,
    AxiosResponse<IResVO<IPageVO<IRequestVO>>>,
    IRequestPageForm
  >('/request/page', form)
}
